from django.shortcuts import render


# Create your views here.
def index(request):
    return render(request, "index.html")


def login(request):
    return render(request, "login.html")


def custom_page_not_found(request, exception):
    # 你可以在这里添加自定义逻辑，比如记录日志或者其他操作
    # 然后返回一个响应对象
    return render(request, '404.html', {'exception': exception}, status=404)
